home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(load){
- ypos2 = 0;
- _parent.tex = 0;
- _parent.tex1 = 0;
- op = 1.2;
- op2 = 0.8;
- schwabbel = 1;
- rob = 0.9;
- ber = 0;
- e = 0;
- a = 0;
- xp = new Array(275 + Math.random() - 0.5,250,300,100,100,450,450);
- yp = new Array(200 + Math.random() - 0.5,250,250,150,250,150,250);
- sizor = new Array(20,20,20,20,20,20,20);
- sp = new Array(1,2,0,0,1,2,4,3,5,6);
- ep = new Array(0,1,2,1,2,0,3,4,6,5);
- ballz = xp.length;
- strichz = sp.length;
- xbew = new Array(0,0,0,0,0,0,0,0,0,0);
- ybew = new Array(0,0,0,0,0,0,0,0,0,0);
- xb = new Array();
- yb = new Array();
- slang = new Array(35,35,35,35,35,35);
- spower = 40;
- slang2 = new Array(strichz);
- the_count = new Array(ballz);
- a = 0;
- while(a < strichz)
- {
- slang2[a] = slang[a];
- if(the_count[ep[a]] * 1 > 0)
- {
- the_count[ep[a]] = the_count[ep[a]] * 1 + 1;
- }
- else
- {
- the_count[ep[a]] = 2;
- }
- if(the_count[sp[a]] * 1 > 0)
- {
- the_count[sp[a]] = the_count[sp[a]] * 1 + 1;
- }
- else
- {
- the_count[sp[a]] = 2;
- }
- a++;
- }
- e = 0;
- while(e < ballz)
- {
- ybew[e] = (Math.random() * 0.1 - 0.05) * 0.03;
- xbew[e] = (Math.random() * 0.1 - 0.05) * 0.03;
- e++;
- }
- md = 0;
- }
-